package com.itheima.chapter03.mapper;

import com.itheima.chapter03.domain.Comment;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface CommentMapper {
    Comment findById(Integer id);

    List<Comment> selectCommentArticleId(Integer aId);

    int insertComment(Comment comment);

    int updateComment(Comment comment);

    int deleteComment(Integer id);
}
